<?php $this->beginContent('/layouts/main') ?>
<div id="left-sidebar">
    <!-- categories -->
    <?php echo $this->renderPartial('application.views.layouts.widgets.categories',
            array('types' => $this->types)) ?>
    <!-- links -->
    <?php echo $this->renderPartial('application.views.layouts.widgets.links') ?>
    <!-- statistics -->
    <?php echo $this->renderPartial('application.views.layouts.widgets.statistics') ?>
</div><!-- sidebar -->

<div id="content" class="column2">
    <?php if (isset($this->breadcrumbs) && count($this->breadcrumbs) > 0) {
        $this->widget('zii.widgets.CBreadcrumbs', array(
            'links' => $this->breadcrumbs,
        ));
    }
    ?><!-- breadcrumbs -->
    <?php echo $content ?>
</div><!-- content -->
<?php $this->endContent() ?>